﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

public class Util
{
    public static int UnitSpace = 1000;
    public static int COS(int angle)
    {
        return (int)(Mathf.Cos(angle * Mathf.PI / 180) * (float)(Util.UnitSpace));
    }
    public static int SIN(int angle)
    {
        return (int)(Mathf.Sin(angle * Mathf.PI / 180) * (float)(Util.UnitSpace));

    }
    public static int TAN(int angle)
    {
        return (int)(Mathf.Tan(angle * Mathf.PI / 180) * (float)(Util.UnitSpace));

    }
}